<template>
  <div class="mainlogin">
    <div class="center">
      <div class="logo">
        <i class="iconfont icon-wangyiyun1"></i>
      </div>
    </div>
    <div class="button" @click="changeEnterPhone">
      <p>手机号登录</p>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    changeEnterPhone(){
      this.$emit("change-enter-phoneson");
    }
  }
};
</script>

<style lang="less">
.mainlogin {
  width: 100%;
  height: 100%;
  .center {
    width: 100%;
    height: 60%;
    position: relative;
    .logo {
      z-index: 2000;
      position: absolute;
      margin: auto;
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background-color: #dd3f33;
      color: white;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      i {
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        font-size: 48px;
        width: 48px;
        height: 48px;
      }
    }
  }
  .button {
    position: relative;
    z-index: 2000;
    width: 280px;
    height: 48px;
    background-color: white;
    color: #c73e2c;
    border: 1px solid #c61d0f;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 100px;
    text-align: center;
    line-height: 48px;
    margin: 0 auto;
  }
}
</style>